package de.hdu.pms.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * @author BBV
 * 
 *         model class Feiertage
 */

@Entity
@Table(name = "feiertage")
public class Feiertage {

	/**
	 * primary key:
	 * <ul>
	 * <li>ftag_id in the database</li>
	 * <li>automatic generated value</li>
	 * </ul>
	 */
	@Id
	@Column(name = "ftag_datum")
	@Temporal(TemporalType.DATE)
	private Date id;
	private String ftag_bez;

	public Date getId() {
		return id;
	}

	public void setId(Date id) {
		this.id = id;
	}

	public String getFtag_bez() {
		return ftag_bez;
	}

	public void setFtag_bez(String ftag_bez) {
		this.ftag_bez = ftag_bez;
	}
}
